create or replace function posterminaConnectionTypeListLoad(
	out refcursor, inout xml
	)
as
$$
	declare
		ref alias for $1;
		xmlQueryData	alias for $2;
	begin
		open ref for 
			select posterminalConnectionType2Xml(pope.idposteminalconnectiontype, pope.nameposterminalconnectiontype) 
				from posterminalconnectiontype pope;
		return;
	end;
$$ language plpgsql stable;
